package cn.mingfancloud.基础知识.字符串;

public class EqualsIgnoreCaseDemo {
    public static void main(String[] args) {
        String a = "Class String";
        String b = "class string";
        System.out.println("equals()方法的比较结果：" + a.equals(b));
        System.out.println("equalsIgnoreCase()方法的比较结果：" + a.equalsIgnoreCase(b));
    }
}
